//package com.badger.generator;
//
//import javax.validation.Valid;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.validation.BindingResult;
//import org.springframework.web.bind.annotation.DeleteMapping;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.PutMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
//import com.badger.generator.constant.Result;
//import com.tellhow.foresee.model.Company;
//import com.tellhow.foresee.service.CompanyService;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiImplicitParam;
//import io.swagger.annotations.ApiImplicitParams;
//import io.swagger.annotations.ApiOperation;
//
///**
// * 企业信息表(t_company)controller.
// * @author liqi
// */
//@Api(value = "企业信息表", description = "企业信息表")
//@RestController
//@RequestMapping("/test")
//public class CompanyController2222 {
//
//    @Autowired
//    CompanyService companyService;
//
//    @GetMapping(value = "/company/page")
//    @ApiOperation(value = "分页数据列表")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "page", value = "当前第几页", dataType = "Long", paramType = "query", defaultValue = "1"),
//            @ApiImplicitParam(name = "size", value = "每页多少条", dataType = "Long", paramType = "query", defaultValue = "15") })
//    public Result page(@RequestParam(value = "page", defaultValue = "1") Long page,
//            @RequestParam(value = "size", defaultValue = "15") Long size) {
//        return Result.getInstance();
//    }
//
//    @GetMapping(value = "/company/list")
//    @ApiOperation(value = "数据列表")
//    public Result list() {
//        return Result.getInstance();
//    }
//
//    @GetMapping(value = "/company/{id}")
//    @ApiOperation(value = "根据id查询单条信息")
//    @ApiImplicitParam(name = "id", value = "主键id", required = true, dataType = "int", paramType = "path")
//    public Result selectById(@PathVariable(value = "id") Integer id) {
//        return Result.getInstance();
//    }
//
//    @PutMapping(value = "/company/{id}")
//    @ApiOperation(value = "根据id修改单条信息")
//    public Result edit(@RequestBody @Valid Company company, BindingResult bindingResult) {
//        return Result.getInstance();
//    }
//
//    @DeleteMapping(value = "/company/{id}")
//    @ApiOperation(value = "根据id删除单条信息")
//    @ApiImplicitParam(name = "id", value = "主键id", required = true, dataType = "int", paramType = "path")
//    public Result del(@PathVariable(value = "id") Integer id) {
//        return Result.getInstance();
//    }
//
//    @PostMapping(value = "/case")
//    @ApiOperation(value = "新增单条信息")
//    public Result save(@RequestBody @Valid Company company, BindingResult bindingResult) {
//        return Result.getInstance();
//    }
//}